﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DCCMS.Model
{
    /// <summary>
    /// 产品实体类封装
    /// </summary>
    [Serializable]
    public class Product
    {
        public Product()
		{}
		#region Model
		private int _productid;
		private string _productname;
		private string _productdesc;
		private int _procategoryid;
		private bool _proisdisplay = false;
		private DateTime _createdate;
		private DateTime? _disabledate;
		private string _productimagepath;
		private string _productimagethumbpath;
		/// <summary>
		/// 
		/// </summary>
		public int ProductID
		{
			set{ _productid=value;}
			get{return _productid;}
		}
		/// <summary>
		/// 产品名称
		/// </summary>
		public string ProductName
		{
			set{ _productname=value;}
			get{return _productname;}
		}
		/// <summary>
		/// 产品描述
		/// </summary>
		public string ProductDesc
		{
			set{ _productdesc=value;}
			get{return _productdesc;}
		}
		/// <summary>
		/// 产品类别ID
		/// </summary>
		public int ProCategoryID
		{
			set{ _procategoryid=value;}
			get{return _procategoryid;}
		}
		/// <summary>
		/// 时候前台显示 0：不显示（默认） 1：不显示
		/// </summary>
		public bool ProIsDisplay
		{
			set{ _proisdisplay=value;}
			get{return _proisdisplay;}
		}
		/// <summary>
		/// 创建日期
		/// </summary>
		public DateTime CreateDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 禁用（前台不显示）日期
		/// </summary>
		public DateTime? DisableDate
		{
			set{ _disabledate=value;}
			get{return _disabledate;}
		}
		/// <summary>
		/// 产品大图
		/// </summary>
		public string ProductImagePath
		{
			set{ _productimagepath=value;}
			get{return _productimagepath;}
		}
		/// <summary>
		/// 产品小图
		/// </summary>
		public string ProductImageThumbPath
		{
			set{ _productimagethumbpath=value;}
			get{return _productimagethumbpath;}
		}
		#endregion Model
    }
}
